Group Rollup Scripts

A system library called GrpRollup_Scripts.txt contains all of the scripts necessary to perform group rollups. The library is installed using the CygNet Point Script Copy Utility. The system library contains script for three HyperPoints: the rollup code, a template point, and a trigger.

Note: Depending on your patched version, you might have more than one instance of GrpRollup_Scripts.txt. If you have multiple versions of the file, repeat the To Install the Rollup Scripts procedure for each version from oldest to newest.

SYSLIB_GRP_ROLLUP_CODE

This point contains the code for rollup calculations. It should not require any modifications after installation.

However, the installation assumes the following:

If either name differs, the actual Site.Service must be typed in the General 1 data field on the Application page of the point configuration record.

SYSLIB_GRP_ROLLUP_TEMPLATE

This point defines the facility — UDC combination by which to perform a rollup and it defines the rollup type. This point is called a template because it is typically copied for each desired rollup. The template is not required for a rollup, but it allows multiple copies of the rollup code to be used. You can use the template for different group nodes as well as different rollup types for the same group node.

Filters based on facility attributes or group node attributes can be applied directly to the template so that resulting values include only desired data.

SYSLIB_GRP_ROLLUP_TRIGGER

This point is used to schedule the execution of the rollup code for all rollup points. Its General 1 data field indicates the number of milliseconds between executions. The value of the trigger point is set to AUTO: #####ms where ##### is the update rate.

If this property is blank or non-numeric, the executions are in manual mode. In manual mode, the scripts can be triggered to run by modifying the timestamp of the trigger point. This can be accomplished using the Master Scheduling Service (MSS) to issue a setpoint task or performed by manually editing the trigger point value.